package com.yangaobo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Min;
import lombok.*;

/**
 * @author 杨奥博
 */
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Schema(description = "按条件分页搜索班级进度DTO")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ClubProgressPageDTO extends PageDTO {

    @Schema(description = "班级ID")
    @Min(value = 1, message = "班级ID必须大于0")
    private String fkClubId;

    @Schema(description = "房间ID")
    @Min(value = 1, message = "房间ID必须大于0")
    private Long fkRoomId;

    @Schema(description = "班主任ID")
    @Min(value = 1, message = "班主任ID必须大于0")
    private Long fkManagerId;

    @Schema(description = "助教老师ID")
    @Min(value = 1, message = "助教老师ID必须大于0")
    private Long fkAssistantId;

    @Schema(description = "主讲老师ID")
    @Min(value = 1, message = "主讲老师ID必须大于0")
    private Long fkTeacherId;

    @Schema(description = "课程ID")
    @Min(value = 1, message = "课程ID必须大于0")
    private Long fkCourseId;
}
